class BorrowBook < ActiveRecord::Base
  attr_accessible :book_id, :borrow_date, :code, :deadline_date, :return_date, :user_id
  belongs_to :book
   belongs_to :user
end
